test('UI加载播放列表数据', async () => {
  const playlists = await fetch('/api/playlists');
  render(<HomePage playlists={playlists} />);
  expect(screen.getByText(/测试歌单/i)).toBeInTheDocument();
});